package personalisation;

import menu.LauncherGame;
import menu.MenuDifficulte;
import menu.MenuMode;
import menu.MenuOptions;

public class MenuModePersonalise extends MenuMode {
	
	private static int mode;

	public MenuModePersonalise(boolean jeu) {
		super(jeu);
	}

	@Override
	protected void lancerOption(int i) {
		switch(i){
		case 0:
			mode = 0;
			this.setVisible(false);
			this.dispose();
			new LauncherGame().launchPersonalise(0);
			break;
		case 1:
			mode = 1;
			this.setVisible(false);
			this.dispose();
			new LauncherGame().launchPersonalise(1);
			break;
		case 2:
			this.dispose();
			break;
		}
	}

	public static int getMode() {
		return mode;
	}
	
	
	
}
